﻿<?php
include 'header.php';
?>

<?php 

if($_POST){
 if(isset($_POST['zhanghao'])&isset($_POST['mima'])){
     $account=$_POST['zhanghao'];
     $pwd=$_POST['mima'];
if($account=="admin"&    $pwd=="admin"){
    echo '<script language = "javascript"> alert("登陆成功");
      location.replace("operation2.php");</script>';
  }
 }
}

?>
<div id="part">
<form action ="" method="post">
管理员账号:<br>
<input name="zhanghao" type="text"/><br>
管理员密码:<br>
<input name="mima" type="text" /><br><br>
<input name="submit" type="submit" value="确定" style="	width: 100px;height: 60px;font-size:30px" />
</form>
</div>

</html>

